package com.dfqy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sym {
    private long id;//编号
    private String sym;//症状
    private String content;//内容
    private String poster;//发布人
    private Date postTime;//发布时间
    private byte isValid;//是否启用

    public Sym(String sym, String content, String poster, Date postTime, byte isValid) {
        this.sym = sym;
        this.content = content;
        this.poster = poster;
        this.postTime = postTime;
        this.isValid = isValid;
    }
}
